﻿/*****************************************************************//**
 * @file    FITKAcousticsVTKViewAdaptorModel.h
 * @brief   Adaptor for 'model' data.

 * @author  ChengHaotian (yeguangbaozi@foxmail.com)
 * @date    2024-10-28
 *********************************************************************/

#ifndef __FITKACOUSTICSVTKVIEWADAPTORMODEL_H__
#define __FITKACOUSTICSVTKVIEWADAPTORMODEL_H__

#include "FITKAcousticsVTKViewAdaptorBase.h"

namespace Exchange
{
    /**
     * @brief   Graph object data adaptor for 'model' data.
     * @author  ChengHaotian (yeguangbaozi@foxmail.com)
     * @date    2024-06-11
     */
    class FITKACOUSTICSGRAPHADAPTORAPI FITKAcousticsVTKViewAdaptorModel : public FITKAcousticsVTKViewAdaptorBase
    {
        // Regist
        FITKCLASS(Exchange, FITKAcousticsVTKViewAdaptorModel);

    public:
        /**
         * @brief   Constructor.
         * @author  ChengHaotian (yeguangbaozi@foxmail.com)
         * @date    2024-06-11
         */
        explicit FITKAcousticsVTKViewAdaptorModel() = default;

        /**
         * @brief   Destructor.
         * @author  ChengHaotian (yeguangbaozi@foxmail.com)
         * @date    2024-06-11
         */
        ~FITKAcousticsVTKViewAdaptorModel() = default;

        /**
         * @brief   Execute the data exchange.[override]
         * @return  Is OK
         * @author  ChengHaotian (yeguangbaozi@foxmail.com)
         * @date    2024-06-11
         */
        bool update() override;

    };

    // Regist model adaptor
    Register2FITKViewAdaptorFactory(GeoModel, Interface::FITKAbsGeoCommand, FITKAcousticsVTKViewAdaptorModel);
}   // namespace Exchange

#endif // __FITKACOUSTICSVTKVIEWADAPTORMODEL_H__